Add Debian CRAN checks using official Docker container to GitHub Actions#72
Closed
Add Debian CRAN checks using official Docker container to GitHub Actions#72
Conversation
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Debian setup to GitHub Actions configuration
Add Debian --as-cran checks to GitHub Actions
Jan 23, 2026
Owner
|
@copilot I think the approach in this file would be better? |
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
Contributor
Author
... I've implemented your suggested approach using the official Debian CRAN Docker container. Changes in commits e4e060e, c6a15d6, and f1f2cbb:
The workflow now runs R CMD check with --as-cran in the same Debian environment that CRAN uses for incoming checks. |
Copilot
AI
changed the title
Add Debian --as-cran checks to GitHub Actions
Add Debian CRAN checks using official Docker container to GitHub Actions
Jan 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Package fails on CRAN incoming checks for Debian. This adds a CI configuration to catch these issues pre-submission.
Changes
debian-cran-check.yamlworkflow file that uses the official Debian-based CRAN check environment Docker container (ghcr.io/r-devel/rcheckserver/debian:latest)R CMD check --as-cranin the same Debian environment that CRAN uses for incoming checksremotes::install_deps()${GITHUB_REPOSITORY#*/}for reusabilitycontents: read) for securityThis approach provides more accurate replication of CRAN's Debian incoming checks compared to using
--as-cranon a standard ubuntu-latest runner, as it uses the exact same container environment that CRAN uses.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.